<?php
/*
 * Created on
 * Date: Mar 5, 2008
 * Author: William Yang
 */
require_once(dirname(__FILE__)."/../common/constants.php");
require_once(DB_SESSION_DIR_PATH."/pagi_bar.php");

class PagiMatchRequestManager extends UIPagiBar {
	public function getResultSet() {
		if ($this->result_set != null && gettype($this->result_set) == gettype(array())) {
			$mr_obj = new MatchRequest();
			$ret_vals = array();
			foreach ($this->result_set as $item) {
				$ret_vals[] = $mr_obj->array2copy($item);
			}
			return $ret_vals;
		} else {
			return array();
		}
	}
}
?>
